package com.stox.ui.javafx.charting.model.cursor;

import javafx.event.EventHandler;
import javafx.scene.input.MouseEvent;

import com.stox.ui.javafx.charting.widget.Chart;

public interface StoxChartingCursor extends EventHandler<MouseEvent>{

	public static enum CursorType{
		NORMAL(new NormalCursor()),
		CROSSHAIR(new CrosshairCursor());
		
		private final StoxChartingCursor cursor;
		
		private CursorType(StoxChartingCursor cursor) {
			this.cursor = cursor;
		}
		
		public StoxChartingCursor getCursor() {
			return cursor;
		}
		
	}
	
	public void paint(Chart<?> chart);
	
}
